import Vue from 'vue'
import App from './App'
import request from './utils/request.js'
Vue.prototype.request = request; //vue原型全局定义
import qiniu from 'qiniu-js'
// 打开app
import openApp from './utils/toApp';
var globalData = {
	apiVersion: "1.3.8", //版本号
	domain: "https://h5test.yiqilaiwang.com",//sdk测试域名
	// domain: "https://h5.yiqilaiwang.com" //sdk正式域名
}
Vue.prototype.openApp = openApp; //vue原型全局定义
Vue.prototype.globalData = globalData;
// 图片压缩
import * as ImgCompress from './utils/compress'
Vue.prototype.$ImgCompress = ImgCompress;
// import Vconsole from 'vconsole';
// let vConsole = new Vconsole();
// vConsole.setOption('maxLogNumber', 5000);
// Vue.use(vConsole)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
